package com.onadake.domain;

/**
 * Enumerates the possible relation types.
 * 
 * @author radek.hecl
 *
 */
public enum RelationType {

    /**
     * Subject is the owner of the object.
     * For example user Caroline (subject) is owner of the horse picture (object).
     */
    OWNER,
    
    /**
     * Subject is allowed to see/read the object.
     * For example user Caroline (subject) is allowed to see the horse picture (object).
     */
    READ,

    /**
     * Subject has object as a friend. This is one way friendship.
     * For example John (subject) considers Tomoko (object) as his friend.
     * However this doesn't tell anything about what Tomoko thinks about John.
     * She can hate him, love him or simply don't care.  
     */
    FRIEND,
    
    /**
     * Subject is a holder of the object.
     * For example John (subject) is a holder of administrator role (object) in his work.
     */
    HOLDER

}
